const mongoose = require('mongoose')

mongoose.set("strictQuery",true)

mongoose.connect("mongodb://huoda:huoda0711@49.232.252.218:27017/group5xm?authSource=admin",(err)=>{
    if(!err){
        return console.log("数据库连接成功")
    }else{
        console.log("数据库连接失败")
    }
})


module.exports = mongoose